package com.cqie.practicaltraining.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 围栏
 * @TableName fencing
 */
@TableName(value ="fencing")
@Data
public class Fencing implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long fencingId;

    /**
     * 
     */
    private Long enclosuresId;

    /**
     * 围栏名称
     */
    private String fencingName;

    private String pastureName;

    private String enclosuresName;
    /**
     * 状态
     */
    private Integer status;

    /**
     * 存栏量
     */
    private Long stock;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updatedTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}